<%-- 
    Document   : test_jsp
    Created on : Mar 18, 2012, 10:45:28 PM
    Author     : ALEXXX
--%>

<%@page import="java.util.Date"%>


<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>This is test page. Now: <%=new Date()%></h1> <br/>
        
    
    <%@page import="edu.os.dao.ephimov.Facade"%>
    
    <%
        Facade cll  = new Facade(); 
        
        cll.AddApplication();
        cll.AddApplication();
        cll.AddApplication();
        cll.AddApplication();
        cll.UpdateApplication();
        String[] s = cll.getAllApps();
        String ss = "";
        
        for (int i = 0; i < s.length; i++)
            ss += "<li>" + s[i];
        
        
    %>
        
        <ul>
            <%= ss%>
        </ul>
    </body>
</html>
